DataGridSetCellTextColor

 

The 'DataGridSetCellTextColor' function changes the text color of specified cell on DataGrid object.

 

void @DataGridSetCellTextColor(string class_name, string column_name, int row_pos, int color);

 

Parameters

string class_name : Class name of DataGrid object.

string column_name : Column name.

int row_pos : Row number.

int color : Color value.

 

Return Value

None

 

Example

color = @RGB(255, 0, 0)

@DataGridSetCellTextColor("DataGrid1", "ID", 1, color);

Description : It changes the text color of specified cell at DataGrid object 'DataGrid1', as red.

 

Version Information

Supported Version : 10.2.4 or higher